/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.interfaces;

import br.com.model.DataColumn;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;

/**
 *
 * @author alunoinf
 */
public interface DataRead {
    /*
     +setFile(File:file):void
     +setColumnsHeader(boolean header):void
     +isColumnsHeader():boolean
     +getColumnsName():List<String>
     +setColumnsFilter(List<String> columnsNames):void
     +setColumnsFilter(int[] columnsIndex):void
     +getColumns():List<DataColumn>
     */

    public void setFile(File file);

    public void setColumnsHeader(boolean header);

    public boolean isColumnsHeader();

    public List<String> getColumnsName() throws FileNotFoundException, IOException;

    public void setColumnsFilter(List<String> columnsNames);

    public void setColumnsFilter(int[] columnsIndex);

    public List<DataColumn> getColumns() throws FileNotFoundException, IOException;
    //public List<String> getColumns() throws FileNotFoundException, IOException;
    
}
